﻿namespace ePoliceConfiger.Views
{
    using Catel.Windows;

    using ViewModels;

    /// <summary>
    /// Interaction logic for MainWindow.xaml.
    /// </summary>
    public partial class MainWindow : DataWindow<MainWindowViewModel>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="MainWindow"/> class.
        /// </summary>
        public MainWindow()
            : base(DataWindowMode.Custom)
        {
            InitializeComponent();
        }


        private void GeneralInfo_Selected(object sender, System.Windows.RoutedEventArgs e)
        {
            var page = new GeneralInfoPage();
            PageContainer.Navigate(page);
        }

        private void Lane1_Selected(object sender, System.Windows.RoutedEventArgs e)
        {
            var page = new LanePage();
            PageContainer.Navigate(page);
        }
    }
}
